package com.dsteiner.widgets.client.rpc;

import com.dsteiner.widgets.client.domain.ModelObject;
import com.google.gwt.user.client.rpc.IsSerializable;

public class CrudResult<T extends ModelObject> implements IsSerializable{

	private T modelObject;
	private String error;
	
	public CrudResult() {
	}
	
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	public T getModelObject() {
		return modelObject;
	}
	public void setModelObject(T modelObject) {
		this.modelObject = modelObject;
	}
}
